import 'package:flutter/material.dart';

import '../../config/public_color.dart';
import 'padding_divider.dart';

/// FileName public_divider
///
/// @Author lax
/// @Date 2023/4/26
///
/// @Description

class PublicDivider extends StatelessWidget {
  final EdgeInsets? padding;

  final double height;

  final Color? color;

  const PublicDivider({
    super.key,
    this.padding,
    this.height = 0.5,
    this.color,
  });

  @override
  Widget build(BuildContext context) {
    return PaddingDivider(
      padding: padding,
      height: height,
      color: color ?? PublicColor.divider,
    );
  }
}
